Skip to main content

int2

Type

keyword

Summary

Used with the read from file, read from process, and read from socket commands to signify a chunk of binary data the size of a signed 2-byte integer.

Syntax

int2

Description

Use the int2 keyword to read data from a binary file.

If you specify int2 as the chunk type in a read from file, read from process, or read from socket command, the data is returned as a series of numbers separated by commas, one for each signed integer read.

Examples

read from process "trap" for 4 int2

command: read from socket, read from process, write to driver, read from file

glossary: keyword, binary file, command, chunk

keyword: integer

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?